<?php get_header();?>

    <!-- 主体 -->
    <div class="am-g am-g-fixed blog-g-fixed">
        <div class="am-u-md-8">
            <?php if (have_posts()) : the_post();?>
                <article class="blog-main">
                    <h3 class="am-article-title blog-title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h3>

                    <h4 class="am-article-meta blog-meta">
                        by <a href="<?php the_author_meta();?>"><?php the_author();?></a> 
                        posted on   <?php 
                                        the_date().the_time();
                                        _e('Filed under&#58;','ic').the_category(',');
                                        comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;');
                                        edit_post_link('编辑', ' &#124;', '');
                                    ?> 
                    </h4>

                    <div class="am-g blog-content">
                        <div class="am-u-lg-12 zeng-article"><?php the_content();?></div>
                    </div>
                </article>
                <hr class="am-article-divider blog-hr">
                <?php the_post_navigation( array(
                    'next_text' =>  '<span class="screen-reader-text">' . __( '新一篇:','ic') . '</span> ' .
                                    '<span class="post-title">%title</span>',
                    'prev_text' =>  '<span class="screen-reader-text">' . __( '老一篇:','ic' ) . '</span> ' .
                                    '<span class="post-title">%title</span>',
                    'mid_size'  => 2,
                ) ); ?>
            <?php endif;?>

            <!-- 评论区 -->
            <?php comments_template(); ?>

        </div>
        <?php get_sidebar(); ?>
    </div>
    <!-- 主体 -->
    
<?php get_footer(); ?>